package cc.miwuya.property.api;

import cc.miwuya.common.util.Result;
import cc.miwuya.property.domain.Shops;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author 迷雾森林
 * @Date 2024-03-10 11:35
 */
public interface ShopsApi {
    @GetMapping("/property/shops/ownerShopsList/{ownerId}")
    public Result getOwnerShopsList(@PathVariable Long ownerId,@RequestParam("name") String name);
    @PostMapping("/property/shops/editOwnerShops")
    public Result editShops(Shops shops);
    @GetMapping("/property/parking/list/owner/{ownerId}")
    public Result listByOwner(@PathVariable Long ownerId,@RequestParam("name") String name);
}
